package com.xx.job.service.server;

import com.xx.job.entity.server.Cpu;
import com.xx.job.entity.server.Disk;
import com.xx.job.entity.server.Os;
import org.hyperic.sigar.Mem;
import org.hyperic.sigar.SigarException;
import org.springframework.http.HttpRequest;

import javax.servlet.http.HttpServletRequest;

public interface ServerService {

    Cpu getCpu() throws SigarException;

    Disk getDisk() throws SigarException;

    Mem getMem() throws SigarException;

    Os getOs(HttpServletRequest request);
}
